package com.peas.platform.module.icims.expenditure.expenses.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.ExpenditureReimbursementPayRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.po.ExpenditureReimbursementPayPo;
import com.peas.platform.module.icims.expenditure.expenses.domain.ExpenditureReimbursementPayDomain;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureReimbursementPayDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureReimbursementPayDomainImpl extends BaseDomainImpl<ExpenditureReimbursementPayDto, ExpenditureReimbursementPayPo> implements ExpenditureReimbursementPayDomain {

    @Resource
    private ExpenditureReimbursementPayRepository expenditureReimbursementPayRepository;

    @Override
    public BaseRepository<ExpenditureReimbursementPayPo> getMapper() {
        return expenditureReimbursementPayRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureReimbursementPayPo>> getRepositoryClass() {
        return ExpenditureReimbursementPayRepository.class;
    }

}
